package com.yx.learn.service;

import net.sf.json.JSONArray;

import com.yx.learn.domain.Department;

public interface DepartmentService {

	public JSONArray getAlistJson(int id) throws Exception;

	public void saveDepartment(Department department) throws Exception;

	public void updateDepartment(Department department) throws Exception;

	public void deleteDepartment(Department department) throws Exception;

	public JSONArray getConditionAListJson(String name,String flag) throws Exception;

	public Department findById(int id) throws Exception;
	
	public String departmentsToCombobox() throws Exception;

}
